//
//  UIButton+Category.m
//  template
//
//  Created by SoXun on 2018/7/17.
//  Copyright © 2018年 soxun. All rights reserved.
//

#import "UIButton+Category.h"

@implementation UIButton (Category)
- (void)shadow{
    self.layer.cornerRadius = 20;
    self.backgroundColor = [UIColor orangeColor];//BRNavColor;
    self.layer.shadowOffset = CGSizeMake(-5, 10);
    self.layer.shadowOpacity = 0.6;
    self.layer.shadowColor = [UIColor lightGrayColor].CGColor;//BRNavColor.CGColor;
//    [self setBackgroundImage:[UIImage imageNamed:@"login_button_dis"]   forState:(UIControlStateNormal)];
//    self.imageView.contentMode = UIViewContentModeScaleAspectFit;
//    self.imageView.backgroundColor = [UIColor yellowColor];
//    self.backgroundColor = [UIColor brownColor];
   
}

@end
